package com.lsfb.light.Mine.MySubscription;

import com.lsfb.light.R;
import com.lsfb.light.Utils.TitleUtils;
import com.zgscwjm.lsfbbasetemplate.LsfbActivity;
import com.zgscwjm.lsfbbasetemplate.annotation.ContentView;

import java.util.ArrayList;
import java.util.List;

@ContentView(R.layout.aty_my_subscription)
public class MySubscriptionActivity extends LsfbActivity {
//    @ViewInject(R.id.rv_mine_subscription)
//    private RecyclerView rv_subscription;

    private List<String> subscriptionList;
    private SubscriptionAdapter adapter;

    @Override
    public void initView() {
        TitleUtils.setsimpletitlebar(this, "我的订阅", true);
    }

    @Override
    public void initEvent() {

    }

    @Override
    public void initData() {
        subscriptionList = new ArrayList<>();
        //todo 测试数据
        for (int i = 0; i < 5; i++) {
            subscriptionList.add(String.valueOf(i));
        }
        adapter = new SubscriptionAdapter(this, subscriptionList, R.layout.item_mine_subscription);
//        rv_subscription.setAdapter(adapter);
    }
}
